package zero.tech.games.mj.data;

import zero.tech.games.logic.common.RoomCache;
import zero.tech.games.mj.data.entity.SetcardsPanel;

/**
 * 游戏通用数据（生命周期与房间同步）
 * @author ludry
 *
 */
public class MjRoomCache extends RoomCache{
	/** 下局庄家ID */
	private int nextHostUid = 0;
	
	/** 配牌器 */
	private SetcardsPanel setcardsPanel=new SetcardsPanel();
	
	public MjRoomCache(String room_id) {
		super(room_id);
	}

	/**
	 * 下局庄家ID
	 * @return
	 */
	public int getNextHostUid() {
		return nextHostUid;
	}

	/**
	 * 下局庄家ID
	 * @param nextHostUid
	 */
	public void setNextHostUid(int nextHostUid) {
		this.nextHostUid = nextHostUid;
	}

	/**
	 * 配牌器
	 * @return
	 */
	public SetcardsPanel getSetcardsPanel() {
		return setcardsPanel;
	}

	/**
	 * 配牌器
	 * @param setcardsPanel
	 */
	public void setSetcardsPanel(SetcardsPanel setcardsPanel) {
		this.setcardsPanel = setcardsPanel;
	}
	
	
	
	
}
